home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Hyper
/
Q-R
/
Recognize.94.cpt
/
Recognize .94
/
background_6153.txt
< prev
next >
Wrap
Text File
|
1988-11-13
|
3KB
|
124 lines
-- background: 6153 from stack: in.94
-- bmap block id: 6859
-- flags: 0000
-- background id: 0
-- name: posting cards
----- HyperTalk script -----
on openbackground
push recent card
put empty into bkgnd field themessage
end openbackground
-- part 1 (field)
-- low flags: 00
-- high flags: 0007
-- rect: left=25 top=133 right=309 bottom=487
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 4
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: themessage
-- part 2 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=395 top=83 right=104 bottom=460
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Send
----- HyperTalk script -----
on mouseUp
set cursor to 4
global lastcard
put "Sending your message, please wait..."
get the number of lines of bkgnd field themessage
put it into nolines
repeat with i = 1 to nolines
set cursor to busy
get line i of bkgnd field themessage
put return after it
sendsport it
end repeat
sendsport ".s"
sendsport return
hide message
rebuffer
if lastcard is "mail" then go to card mail
else
go back
end if
--backfromreply
end mouseUp
-- part 3 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=395 top=108 right=129 bottom=461
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Abort
----- HyperTalk script -----
on mouseUp
global lastcard
answer "Are you sure you want to cancel?" with "Yes" or "No"
if it is "yes" then
sendsport 1,false,".a"
sendsport 1,false,return
sendsport 1,false,y
sendsport 1,false,return
sendsport 1,false,a
if lastcard is "mail" then go to card mail
else go back
backfromreply
end if
end mouseUp
-- part 4 (field)
-- low flags: 01
-- high flags: 0004
-- rect: left=96 top=83 right=105 bottom=247
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 14
-- style flags: 256
-- line height: 18
-- part name: to
-- part 5 (field)
-- low flags: 01
-- high flags: 0004
-- rect: left=96 top=107 right=129 bottom=247
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 14
-- style flags: 256
-- line height: 18
-- part name: subject